<?php
	if(!isset($action)) $action="";
        $newsletter = new dc_newsletter_basic();

	if ($action=="supprimer") {
		if($deleteid){
			$query = "delete from $newsletter->table where id='$deleteid'";
			$resul = mysql_query($query);
			?>
			<div style="float:left; width:970px; color:red; text-align: center; margin-top:10px;">L'abonn&eacute; a bien &eacute;t&eacute; supprim&eacute;</div>
			<?php
		}
	}

	include (realpath(dirname(__FILE__)) . '/liste.php');
?>